<!--汽车资讯列表-->
<style type="text/less">
    @import "/web/public/public.less";
    #fragment-index-list-recommend.list-type{
        .list-title{
            padding-left: 20px;
            line-height: 80px;
            font-size: 18px;
            font-weight: bold;
            .clearfix;
            border-bottom: 1px solid #EEEEEE;
            &>li{
                .fl;
                &+li{
                    margin-left: 70px;
                }
                &.active{
                    a{
                        cursor: pointer;
                        color: #e60012;
                        &:hover{
                            text-decoration: underline;
                        }
                    }
                }
            }
        }
        .content-list{
            display: none;
            &.active{
                display: block;
            }
            &>li{
                border-bottom: 1px solid #EEEEEE;
                padding: 20px 0;
                .clearfix;
                .left{
                    width: 230px !important;
                    height: 140px !important;
                    min-height: 0 !important;
                    padding: 0 !important;
                    .fl;
                    img{
                        width: 100%;
                        height: 100%;
                    }
                    &+.right{

                        width: 435px !important;
                        .fr;
                    }
                }
                .right{
                    min-height: 0 !important;
                    .title{
                        width: 100%;
                        font-size: 20px;
                        font-weight: normal;
                        .ellipsis;
                    }
                    p{
                        height: 45px;
                        color: #7f7f7f;
                        font-size: 14px;
                        line-height: 24px;
                        margin-top: 15px;
                        .ellipsis-mult(2);
                    }
                    .info{
                        height: 27px;
                        overflow: hidden;
                        margin-top: 30px;
                        font-size: 14px;
                        color: #a8a8a8;
                        .clearfix;
                        line-height: 26px;
                        i{
                            margin-left: 20px;
                            &:first-child{
                                margin-left: 0;
                            }
                            &+span{
                                margin-left: 5px;
                            }
                        }
                        a{
                            display: inline-block;
                            color: #a8a8a8;
                            background-color: #F0F0F0;
                            border-radius: 13px;
                            padding: 0 13px;
                            .fr;
                            margin-left: 10px;
                            &:last-child{
                                margin-left: 0;
                            }
                        }
                    }
                }
            }

        }
    }
</style>
<script src="/web/lib/less.min.js"></script>
<#if channelList?? && (channelList?size>0)>
    <div id="fragment-index-list-recommend" class="list-type">
        <ul class="list-title">
            <#assign temp = -1>
            <#list channelList as info>
                <#if info.channelStatus == 1>
                    <#if temp == -1>
                        <#assign temp = info_index>
                    </#if>
                    <#if temp == info_index>
                        <li class="active">
                            <a href="${"${domainQiChe}/web/list/${info.channelRewriteUrl}/index_1.html"}" target="_blank" title="${info.channelName}">${info.channelName}</a>
<#--                            <a href="${"${domainQiChe}/web/automobile-list.html?id=${info.channelValue}&column=${info.channelName}"}" target="_blank" title="${info.channelName}">${info.channelName}</a>-->
                        </li>
                    <#else>
                        <li>
                            <a href="${"${domainQiChe}/web/list/${info.channelRewriteUrl}/index_1.html"}" target="_blank" title="${info.channelName}">${info.channelName}</a>
<#--                            <a href="${"${domainQiChe}/web/automobile-list.html?id=${info.channelValue}&column=${info.channelName}"}" target="_blank" title="${info.channelName}">${info.channelName}</a>-->
                        </li>
                    </#if>
                <#else>
                </#if>
            </#list>
        </ul>

        <#if channelList[0].channelStatus == 1>
            <#if temp == 0>
                <ul class="content-list active">
            <#else>
                <ul class="content-list">
            </#if>
                <#list 0..channelList[0].channelCount-1 as i>
                    <#if i gte list1?size>
                        <li>
                            <div class="left"><img src="" alt=""></div>
                            <div class="right">
                                <div class="title"><a href="javascript:"></a></div>
                                <p></p>
                                <div class="info">
                                    <i class="iconfont icon-shijian"></i><span></span>
                                    <a href="javascript:" class="tag"></a>
                                    <a href="javascript:" class="tag"></a>
                                </div>
                            </div>
                        </li>
                    <#else>
                        <#if list1[i].articleOutLinkStatus == 1>
                            <li>
                                <div class="left">
                                    <a href="${list1[i].articleOutLink!''}" target="_blank" title="${list1[i].articleTitle!''}"><img src="${list1[i].articleTitleImage!''}" alt="${list1[i].articleTitleImageAlt!''}" title="${list1[i].articleTitleImageAlt!''}"></a>
                                </div>
                                <div class="right">
                                    <div class="title"><a href="${list1[i].articleOutLink!''}" target="_blank">${list1[i].articleTitle!''}</a></div>
                                    <p><a href="${list1[i].articleOutLink!''}" target="_blank" title="${list1[i].articleInfo!''}">${list1[i].articleInfo!''}</a></p>
                                    <div class="info">
                                        <i class="iconfont icon-shijian"></i><span>${list1[i].updateTime!''}</span>
                                        <#if list1[i].articleKeyWordList??>
                                            <#list list1[i].articleKeyWordList as articleKeyword>
                                                <a href="${"${domain}/web/tagList/1.html?tag=${articleKeyword.keyword}"}" target="_blank" class="tag" title="${articleKeyword.keyword}">${articleKeyword.keyword}</a>
                                            </#list>
                                        </#if>
                                    </div>
                                </div>
                            </li>
                        <#else>
                            <li>
                                <div class="left">
                                    <a href="${list1[i].articleUrl!''}" target="_blank" title="${list1[i].articleTitle!''}"><img src="${list1[i].articleTitleImage!''}" alt="${list1[i].articleTitleImageAlt!''}" title="${list1[i].articleTitleImageAlt!''}"></a>
                                </div>
                                <div class="right">
                                    <div class="title"><a href="${list1[i].articleUrl!''}" target="_blank" title="${list1[i].articleTitle!''}">${list1[i].articleTitle!''}</a></div>
                                    <p><a href="${list1[i].articleUrl!''}" target="_blank" title="${list1[i].articleInfo!''}">${list1[i].articleInfo!''}</a></p>
                                    <div class="info">
                                        <i class="iconfont icon-shijian"></i><span>${list1[i].updateTime!''}</span>
                                        <#if list1[i].articleKeyWordList??>
                                            <#list list1[i].articleKeyWordList as articleKeyword>
                                                <a href="${"${domain}/web/tagList/1.html?tag=${articleKeyword.keyword}"}" target="_blank" class="tag" title="${articleKeyword.keyword}">${articleKeyword.keyword}</a>
                                            </#list>
                                        </#if>
                                    </div>
                                </div>
                            </li>
                        </#if>
                    </#if>
                </#list>
            </ul>
        </#if>

        <#if channelList[1].channelStatus == 1>
            <#if temp == 1>
                <ul class="content-list active">
            <#else>
                <ul class="content-list">
            </#if>
                <#list 0..channelList[1].channelCount-1 as i>
                    <#if i gte list2?size>
                        <li>
                            <div class="left"><img src="" alt=""></div>
                            <div class="right">
                                <div class="title"><a href="javascript:"></a></div>
                                <p></p>
                                <div class="info">
                                    <i class="iconfont icon-shijian"></i><span></span>
                                    <a href="javascript:" class="tag"></a>
                                    <a href="javascript:" class="tag"></a>
                                </div>
                            </div>
                        </li>
                    <#else>
                        <#if list2[i].articleOutLinkStatus == 1>
                            <li>
                                <div class="left">
                                    <a href="${list2[i].articleOutLink!''}" target="_blank" title="${list2[i].articleTitle!''}"><img src="${list2[i].articleTitleImage!''}" alt="${list2[i].articleTitleImageAlt!''}" title="${list2[i].articleTitleImageAlt!''}"></a>
                                </div>
                                <div class="right">
                                    <div class="title"><a href="${list2[i].articleOutLink!''}" target="_blank" title="${list2[i].articleTitle!''}">${list2[i].articleTitle!''}</a></div>
                                    <p><a href="${list2[i].articleOutLink!''}" target="_blank" title="${list2[i].articleInfo!''}">${list2[i].articleInfo!''}</a></p>
                                    <div class="info">
                                        <i class="iconfont icon-shijian"></i><span>${list2[i].updateTime!''}</span>
                                        <#if list2[i].articleKeyWordList??>
                                            <#list list2[i].articleKeyWordList as articleKeyword>
                                                <a href="${"${domain}/web/tagList/1.html?tag=${articleKeyword.keyword}"}" target="_blank" class="tag" title="${articleKeyword.keyword}">${articleKeyword.keyword}</a>
                                            </#list>
                                        </#if>
                                    </div>
                                </div>
                            </li>
                        <#else>
                            <li>
                                <div class="left">
                                    <a href="${list2[i].articleUrl!''}" target="_blank" title="${list2[i].articleTitle!''}"><img src="${list2[i].articleTitleImage!''}" alt="${list2[i].articleTitleImageAlt!''}" title="${list2[i].articleTitleImageAlt!''}"></a>
                                </div>
                                <div class="right">
                                    <div class="title"><a href="${list2[i].articleUrl!''}" target="_blank" title="${list2[i].articleTitle!''}">${list2[i].articleTitle!''}</a></div>
                                    <p><a href="${list2[i].articleUrl!''}" target="_blank" title="${list2[i].articleInfo!''}">${list2[i].articleInfo!''}</a></p>
                                    <div class="info">
                                        <i class="iconfont icon-shijian"></i><span>${list2[i].updateTime!''}</span>
                                        <#if list2[i].articleKeyWordList??>
                                            <#list list2[i].articleKeyWordList as articleKeyword>
                                                <a href="${"${domain}/web/tagList/1.html?tag=${articleKeyword.keyword}"}" target="_blank" class="tag" title="${articleKeyword.keyword}">${articleKeyword.keyword}</a>
                                            </#list>
                                        </#if>
                                    </div>
                                </div>
                            </li>
                        </#if>
                    </#if>
                </#list>
            </ul>
        </#if>

        <#if channelList[2].channelStatus == 1>
            <#if temp == 2>
                <ul class="content-list active">
            <#else>
                <ul class="content-list">
            </#if>
                <#list 0..channelList[2].channelCount-1 as i>
                    <#if i gte list3?size>
                        <li>
                            <div class="left"><img src="" alt=""></div>
                            <div class="right">
                                <div class="title"><a href="javascript:"></a></div>
                                <p></p>
                                <div class="info">
                                    <i class="iconfont icon-shijian"></i><span></span>
                                    <a href="javascript:" class="tag"></a>
                                    <a href="javascript:" class="tag"></a>
                                </div>
                            </div>
                        </li>
                    <#else>
                        <#if list3[i].articleOutLinkStatus == 1>
                            <li>
                                <div class="left">
                                    <a href="${list3[i].articleOutLink!''}" target="_blank" title="${list3[i].articleTitle!''}"><img src="${list3[i].articleTitleImage!''}" alt="${list3[i].articleTitleImageAlt!''}" title="${list3[i].articleTitleImageAlt!''}"></a>
                                </div>
                                <div class="right">
                                    <div class="title"><a href="${list3[i].articleOutLink!''}" target="_blank" title="${list3[i].articleTitle!''}">${list3[i].articleTitle!''}</a></div>
                                    <p><a href="${list3[i].articleOutLink!''}" target="_blank" title="${list3[i].articleInfo!''}">${list3[i].articleInfo!''}</a></p>
                                    <div class="info">
                                        <i class="iconfont icon-shijian"></i><span>${list3[i].updateTime!''}</span>
                                        <#if list3[i].articleKeyWordList??>
                                            <#list list3[i].articleKeyWordList as articleKeyword>
                                                <a href="${"${domain}/web/tagList/1.html?tag=${articleKeyword.keyword}"}" target="_blank" class="tag" title="${articleKeyword.keyword}">${articleKeyword.keyword}</a>
                                            </#list>
                                        </#if>
                                    </div>
                                </div>
                            </li>
                        <#else>
                            <li>
                                <div class="left">
                                    <a href="${list3[i].articleUrl!''}" target="_blank" title="${list3[i].articleTitle!''}"><img src="${list3[i].articleTitleImage!''}" alt="${list3[i].articleTitleImageAlt!''}" title="${list3[i].articleTitleImageAlt!''}"></a>
                                </div>
                                <div class="right">
                                    <div class="title"><a href="${list3[i].articleUrl!''}" target="_blank" title="${list3[i].articleTitle!''}">${list3[i].articleTitle!''}</a></div>
                                    <p><a href="${list3[i].articleUrl!''}" target="_blank">${list3[i].articleInfo!''}</a></p>
                                    <div class="info">
                                        <i class="iconfont icon-shijian"></i><span>${list3[i].updateTime!''}</span>
                                        <#if list3[i].articleKeyWordList??>
                                            <#list list3[i].articleKeyWordList as articleKeyword>
                                                <a href="${"${domain}/web/tagList/1.html?tag=${articleKeyword.keyword}"}" target="_blank" class="tag" title="${articleKeyword.keyword}">${articleKeyword.keyword}</a>
                                            </#list>
                                        </#if>
                                    </div>
                                </div>
                            </li>
                        </#if>
                    </#if>
                </#list>
            </ul>
        </#if>

        <#if channelList[3].channelStatus == 1>
            <#if temp == 3>
                <ul class="content-list active">
            <#else>
                <ul class="content-list">
            </#if>
                <#list 0..channelList[3].channelCount-1 as i>
                    <#if i gte list4?size>
                        <li>
                            <div class="left"><img src="" alt=""></div>
                            <div class="right">
                                <div class="title"><a href="javascript:"></a></div>
                                <p></p>
                                <div class="info">
                                    <i class="iconfont icon-shijian"></i><span></span>
                                    <a href="javascript:" class="tag"></a>
                                    <a href="javascript:" class="tag"></a>
                                </div>
                            </div>
                        </li>
                    <#else>
                        <#if list4[i].articleOutLinkStatus == 1>
                            <li>
                                <div class="left">
                                    <a href="${list4[i].articleOutLink!''}" target="_blank" title="${list4[i].articleTitle!''}"><img src="${list4[i].articleTitleImage!''}" alt="${list4[i].articleTitleImageAlt!''}" title="${list4[i].articleTitleImageAlt!''}"></a>
                                </div>
                                <div class="right">
                                    <div class="title"><a href="${list4[i].articleOutLink!''}" target="_blank" title="${list4[i].articleTitle!''}">${list4[i].articleTitle!''}</a></div>
                                    <p><a href="${list4[i].articleOutLink!''}" target="_blank" title="${list4[i].articleInfo!''}">${list4[i].articleInfo!''}</a></p>
                                    <div class="info">
                                        <i class="iconfont icon-shijian"></i><span>${list4[i].updateTime!''}</span>
                                        <#if list4[i].articleKeyWordList??>
                                            <#list list4[i].articleKeyWordList as articleKeyword>
                                                <a href="${"${domain}/web/tagList/1.html?tag=${articleKeyword.keyword}"}" target="_blank" class="tag" title="${articleKeyword.keyword}">${articleKeyword.keyword}</a>
                                            </#list>
                                        </#if>
                                    </div>
                                </div>
                            </li>
                        <#else>
                            <li>
                                <div class="left">
                                    <a href="${list4[i].articleUrl!''}" target="_blank" title="${list4[i].articleTitle!''}"><img src="${list4[i].articleTitleImage!''}" alt="${list4[i].articleTitleImageAlt!''}" title="${list4[i].articleTitleImageAlt!''}"></a>
                                </div>
                                <div class="right">
                                    <div class="title"><a href="${list4[i].articleUrl!''}" target="_blank" title="${list4[i].articleTitle!''}">${list4[i].articleTitle!''}</a></div>
                                    <p><a href="${list4[i].articleUrl!''}" target="_blank" title="${list4[i].articleInfo!''}">${list4[i].articleInfo!''}</a></p>
                                    <div class="info">
                                        <i class="iconfont icon-shijian"></i><span>${list4[i].updateTime!''}</span>
                                        <#if list4[i].articleKeyWordList??>
                                            <#list list4[i].articleKeyWordList as articleKeyword>
                                                <a href="${"${domain}/web/tagList/1.html?tag=${articleKeyword.keyword}"}" target="_blank" class="tag" title="${articleKeyword.keyword}">${articleKeyword.keyword}</a>
                                            </#list>
                                        </#if>
                                    </div>
                                </div>
                            </li>
                        </#if>
                    </#if>
                </#list>
            </ul>
        </#if>

        <#if channelList[4].channelStatus == 1>
            <#if temp == 4>
                <ul class="content-list active">
            <#else>
                <ul class="content-list">
            </#if>
                <#list 0..channelList[4].channelCount-1 as i>
                    <#if i gte list5?size>
                        <li>
                            <div class="left"><img src="" alt=""></div>
                            <div class="right">
                                <div class="title"><a href="javascript:"></a></div>
                                <p></p>
                                <div class="info">
                                    <i class="iconfont icon-shijian"></i><span></span>
                                    <a href="javascript:" class="tag"></a>
                                    <a href="javascript:" class="tag"></a>
                                </div>
                            </div>
                        </li>
                    <#else>
                        <#if list5[i].articleOutLinkStatus == 1>
                            <li>
                                <div class="left">
                                    <a href="${list5[i].articleOutLink!''}" target="_blank" title="${list5[i].articleTitle!''}"><img src="${list5[i].articleTitleImage!''}" alt="${list5[i].articleTitleImageAlt!''}" title="${list5[i].articleTitleImageAlt!''}"></a>
                                </div>
                                <div class="right">
                                    <div class="title"><a href="${list5[i].articleOutLink!''}" target="_blank" title="${list5[i].articleTitle!''}">${list5[i].articleTitle!''}</a></div>
                                    <p><a href="${list5[i].articleOutLink!''}" target="_blank" title="${list5[i].articleInfo!''}">${list5[i].articleInfo!''}</a></p>
                                    <div class="info">
                                        <i class="iconfont icon-shijian"></i><span>${list5[i].updateTime!''}</span>
                                        <#if list5[i].articleKeyWordList??>
                                            <#list list5[i].articleKeyWordList as articleKeyword>
                                                <a href="${"${domain}/web/tagList/1.html?tag=${articleKeyword.keyword}"}" target="_blank" class="tag" title="${articleKeyword.keyword}">${articleKeyword.keyword}</a>
                                            </#list>
                                        </#if>
                                    </div>
                                </div>
                            </li>
                        <#else>
                            <li>
                                <div class="left">
                                    <a href="${list5[i].articleUrl!''}" target="_blank" title="${list5[i].articleTitle!''}"><img src="${list5[i].articleTitleImage!''}" alt="${list5[i].articleTitleImageAlt!''}" title="${list5[i].articleTitleImageAlt!''}"></a>
                                </div>
                                <div class="right">
                                    <div class="title"><a href="${list5[i].articleUrl!''}" target="_blank" title="${list5[i].articleTitle!''}">${list5[i].articleTitle!''}</a></div>
                                    <p><a href="${list5[i].articleUrl!''}" target="_blank" title="${list5[i].articleInfo!''}">${list5[i].articleInfo!''}</a></p>
                                    <div class="info">
                                        <i class="iconfont icon-shijian"></i><span>${list5[i].updateTime!''}</span>
                                        <#if list5[i].articleKeyWordList??>
                                            <#list list5[i].articleKeyWordList as articleKeyword>
                                                <a href="${"${domain}/web/tagList/1.html?tag=${articleKeyword.keyword}"}" target="_blank" class="tag" title="${articleKeyword.keyword}">${articleKeyword.keyword}</a>
                                            </#list>
                                        </#if>
                                    </div>
                                </div>
                            </li>
                        </#if>
                    </#if>
                </#list>
            </ul>
        </#if>
    </div>
</#if>
<script>
    $(function () {
        var $aContentList = $('ul.content-list');
        var $aContentListLi = $('ul.content-list>li');
        var $aListTileLi = $('ul.list-title>li');
        var aListTileLiActiveIndex = 0;
        var tabTime = 5000;

        function timerFn() {
            aListTileLiActiveIndex = aListTileLiActiveIndex<$aListTileLi.length-1?aListTileLiActiveIndex+1:0;
            $aContentList.removeClass('active');
            $aListTileLi.removeClass('active');
            $aListTileLi.eq(aListTileLiActiveIndex).addClass('active');
            $aContentList.eq(aListTileLiActiveIndex).addClass('active');
        }

        var timer = setInterval(timerFn,tabTime);

        $aListTileLi.mouseover(function () {
            clearInterval(timer);
            aListTileLiActiveIndex = $(this).index();
            $aContentList.removeClass('active');
            $aListTileLi.removeClass('active');
            $(this).addClass('active');
            $aContentList.eq(aListTileLiActiveIndex).addClass('active');
        });
        $aListTileLi.mouseleave(function () {
            timer = setInterval(timerFn,tabTime);
        })

        $aContentListLi.mouseover(function () {
            clearInterval(timer);
        })
        $aContentListLi.mouseleave(function () {
            timer = setInterval(timerFn,tabTime);
        })
    })
</script>
